import subprocess
import threading
import time
import os

# 为线程定义一个函数
def print_time( threadName, delay):
   count = 0
   while count < 5:
      time.sleep(delay)
      count += 1
      print ("%s: %s" % ( threadName, time.ctime(time.time()) ))

# 创建两个线程
def a():
    while 1:
        b=input("aaaa")
        print(b)
        if(b=="b"):
            os._exit()
def b():
    while 1:
        time.sleep(1)
        print("b")
try:
   aa=threading.Thread( target=a )
   bb=threading.Thread( target=b )
   aa.start()
   bb.start()
except:
   print ("Error: 无法启动线程")

while 1:
    time.sleep(3)
    print(123)
    pass

#subprocess.Popen('D:/RimWorld.v1.0.2231.Multi.23/X86/RimWorldWin.exe')
print(1)